package org.yaukie.auth.service.api;

import io.jsonwebtoken.Claims;
import javax.servlet.http.HttpServletRequest;
import org.springframework.security.core.Authentication;
import org.yaukie.auth.entity.LoginUser;

public interface TokenHandlerService {
  String buildToken(LoginUser paramLoginUser);
  
  boolean verifyToken(HttpServletRequest paramHttpServletRequest);
  
  String getUserNameFromAuthentication(HttpServletRequest paramHttpServletRequest);
  
  boolean isTokenExpired(String paramString);
  
  Authentication getAuthenticationFromToken(HttpServletRequest paramHttpServletRequest);
  
  void refreshToken(LoginUser paramLoginUser);
  
  void delLoginUser(String paramString);
  
  String getToken(HttpServletRequest paramHttpServletRequest);
  
  Claims parseToken(String paramString);
  
  LoginUser getLoginUser(HttpServletRequest paramHttpServletRequest);
}


/* Location:              /Users/rex/Desktop/x-common-auth-1.0.0-SNAPSHOT.jar!/org/yaukie/auth/service/api/TokenHandlerService.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */